package com.example.springbootblog.common.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateBlogParam {
    @NotNull(message = "id 不能为空")
    private Integer id;
    @NotBlank(message = "title 不能为空")
    private String title;
    @NotNull(message = "content 不能为空")
    private String content;
}
